package org.spring.qq_chat_java.pojo.uto;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.EnumOrdinalTypeHandler;
import org.spring.qq_chat_java.constant.ReceiverType;

@Data
@AllArgsConstructor
@NoArgsConstructor
///聊天
public class chatUTO {
    private Long senderId;
    private Long receiverId;
    @TableField(typeHandler = EnumOrdinalTypeHandler.class)
    private ReceiverType receiverType;
}
